<%
	String error = (String)request.getParameter("error");
	String errMsg = "";
	if (error != null) {
		if (error.equals("fields")) {
			errMsg = "You need to fill in all fields.";
		}
		else if (error.equals("alreadyregistered")) {
			errMsg = "This email is already registered in the system.";
		}
		else if (error.equals("fields")) {
			errMsg = "You need to fill in all fields.";
		}
		else if (error.equals("alreadyin")) {
			errMsg = "This item is already added.";
		}
%>
		<div style='clear:both; height:30px;'>
			<span style='color:red; font-size:15px; font-weight:bold;'>
				<%= errMsg %>
			</span>
		</div>
<%
	}
%>